package com.itheima.homework03;

public class Test03 {
    public static void main(String[] args) {
        Employee p = new JavaTeacher();
        p.setName("张三");
        p.setSex("男");
        p.setAge(28);
        p.work();
        Employee p2 = new UiTeacher();
        p2.setName("李四");
        p2.setSex("男");
        p2.setAge(26);
        p2.work();
        Painting p3 = new UiTeacher();
        p3.painting();



    }
}
